package com.luohh.treeroom.service;

import com.luohh.treeroom.dto.BaseResult;
import com.luohh.treeroom.dto.LoginParam;
import com.luohh.treeroom.dto.QQLoginParam;
import com.luohh.treeroom.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 罗辉煌
 * @since 2020-02-07
 */
public interface IUserInfoService extends IService<UserInfo> {

    BaseResult<UserInfo> phoneLogin(LoginParam loginParam) throws  Exception;

    BaseResult<UserInfo> getCode(String email) throws  Exception;

    BaseResult getDetail();

    BaseResult logout();

    BaseResult login(LoginParam loginParam) throws Exception;

    BaseResult qqLogin(QQLoginParam qqLoginPrames) throws Exception;
}
